package com.wms.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wms.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@TableName("sys_table_config_multilingual")
@ApiModel(value = "SysTableConfigMultilingual", description = "前端页面表格列多语言配置实体")
public class SysTableConfigMultilingual {

    @Excel(name = "前端页面表格列多语言配置实体id", type = Excel.Type.EXPORT, cellType = Excel.ColumnType.NUMERIC, prompt = "前端页面表格列多语言配置实体id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Excel(name = "前端页面表格配置id", type = Excel.Type.EXPORT, cellType = Excel.ColumnType.NUMERIC, prompt = "前端页面表格配置id")
    @ApiModelProperty(value = "前端页面表格配置id",required = true)
    @NotBlank(message = "前端页面表格配置id不能为空")
    @TableField("table_config_id")
    private Long tableConfigId;

    @Excel(name = "语言类型", type = Excel.Type.EXPORT, cellType = Excel.ColumnType.STRING, prompt = "语言类型")
    @ApiModelProperty(value = "语言类型",required = true)
    @NotBlank(message = "语言类型不能为空")
    @TableField("language_type")
    private String languageType;

    @Excel(name = "描述", type = Excel.Type.EXPORT, cellType = Excel.ColumnType.STRING, prompt = "描述")
    @ApiModelProperty(value = "描述",required = true)
    @NotBlank(message = "描述不能为空")
    @TableField("label_describe")
    private String labelDescribe;

}
